package com.dongchedi.service;

import com.dongchedi.entity.CustomerLogin;
import com.dongchedi.entity.LoginTicket;
import com.dongchedi.utils.page.PageRequest;
import com.dongchedi.utils.page.PageResult;
import com.dongchedi.vo.LoginVO;

import java.util.Map;

/**
 * @author leibidong
 * @description 用户登录，注销 service接口
 * @date 2021/6/25
 */
public interface FindLoginService {
    public CustomerLogin queryByName(String name);
    public PageResult query(PageRequest pageRequest);
    public Map<String,Integer> login(LoginVO loginVO);
    public Integer loginout(Integer id,String ticket);
    public LoginTicket findLoginTicket(String ticket);
    public CustomerLogin queryCustomerLoginById(Integer id);
}
